/*
* ============================================================================
*  Name     : CKeyLockerHelpContainer from KeyLockerHelpContainer.h
*  Part of  : KeyLockerHelp
*  Created  : 04.01.2006 by DANG Zhengfa
*  Description:
*     Declares container control for application.
*  Version  :
*  Copyright: Zhengfa Company Limited
* ============================================================================
*/

#ifndef KEYLOCKERHELPCONTAINER_H
#define KEYLOCKERHELPCONTAINER_H

// INCLUDES
#include <coecntrl.h>
   
// FORWARD DECLARATIONS
class CAknDoubleNumberStyleListBox;

// CLASS DECLARATION

/**
*  CKeyLockerHelpContainer  container control class.
*  
*/
class CKeyLockerHelpContainer : public CCoeControl
    {
    public: // Constructors and destructor
        
        /**
        * EPOC default constructor.
        * @param aRect Frame rectangle for container.
        */
        void ConstructL(const TRect& aRect);

        /**
        * Destructor.
        */
        ~CKeyLockerHelpContainer();

    public: // New functions

    public: // Functions from base classes

    private: // Functions from base classes

       /**
        * From CoeControl,SizeChanged.
        */
        void SizeChanged();
		TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType);

       /**
        * From CoeControl,CountComponentControls.
        */
        TInt CountComponentControls() const;

       /**
        * From CCoeControl,ComponentControl.
        */
        CCoeControl* ComponentControl(TInt aIndex) const;

       /**
        * From CCoeControl,Draw.
        */
        void Draw(const TRect& aRect) const;

    private: //data
        
        CAknDoubleNumberStyleListBox* iListbox;          // listbox
    };

#endif

// End of File
